<script setup>
import Art from './article/index.vue'
import Dra from './drafts/index.vue'

const activeName = ref('article')
</script>

<template>
  <AppCard bordered class="w-full border-rd-5 p-10">
    <el-tabs v-model="activeName" class="h-full">
      <el-tab-pane label="文章" name="article" class="h-full">
        <Art />
      </el-tab-pane>
      <el-tab-pane label="草稿箱" name="drafts" class="h-full">
        <Dra />
      </el-tab-pane>
    </el-tabs>
  </AppCard>
</template>

<style scoped></style>
